How to specify variable inside an associative array fetch value in a loop and insert in database

visit shbcf.ru